"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const nodejs_websocket_1 = __importDefault(require("nodejs-websocket"));
const User_1 = require("../hall/User");
class WebSocketService {
    start() {
        nodejs_websocket_1.default.createServer(connection => {
            new User_1.User(connection);
        }).listen(8082);
    }
}
exports.default = new WebSocketService();
